<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="frm" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%--
  Created by IntelliJ IDEA.
  User: wzs
  Date: 2017/7/15
  Time: 17:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>${title}</title>
    <link href="/css/site.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<div class="container">
    <h2>${title}</h2>
    <table class="gridtable">
        <tr>
            <th>用户名</th>
            <th>昵称</th>
            <th>年龄</th>
            <th>最后登录时间</th>
            <th>Email</th>
            <th>QQ</th>
            <th>微信</th>
        </tr>
        <tr>
            <td>${user.username}</td>
            <td>${user.nickname}</td>
            <td>${user.userdetail.age}</td>
            <td><frm:formatDate value="${user.lastlogintime}" pattern="yyyy-MM-dd HH:mm:ss"></frm:formatDate> </td>
            <td>${user.userdetail.email}</td>
            <td>${user.userdetail.qq}</td>
            <td>${user.userdetail.wx}</td>

        </tr>
    </table>
</div>


</body>
</html>
